package org.jeecg.modules.kuner.browsebase.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.kuner.browsebase.entity.KrBrowseBase;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.kuner.browsebase.vo.BrowseHisVO;

/**
 * @Description: 浏览记录
 * @Author: jeecg-boot
 * @Date:   2025-02-19
 * @Version: V1.0
 */
public interface IKrBrowseBaseService extends IService<KrBrowseBase> {

    void visitContent(String contentId, String type, String msg);

    void saveBrowseBase(String contentId, String type, String userId);

    KrBrowseBase getByContentId(String contentId,String userId);

    IPage<BrowseHisVO> myBrowse(Integer pageNo, Integer pageSize, String type);
}
